package com.hzsxy.bighomework.repository;

import com.hzsxy.bighomework.entity.ExamDO;
import com.hzsxy.bighomework.entity.QuestionDO;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by 张晨 on 2018/11/28.
 */
@Repository
public interface ExamRepository extends CrudRepository<ExamDO,Integer> {

    List<ExamDO> findByAuthor(String author);

}
